﻿using System;
using System.Windows.Forms;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.UI;

namespace FsAddInManager
{
	public static class StaticUtil
	{
		public static void ShowWarning(Exception e)
		{
			StaticUtil.ShowWarning(e.Message);
		}

		public static void ShowWarning(string msg)
		{
			MessageBox.Show(msg, "Add-in Manager", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
		}

		public static string m_ecFullName = typeof(IExternalCommand).FullName;

		public static string m_eaFullName = typeof(IExternalApplication).FullName;

		public static RegenerationOption m_regenOption;

		public static TransactionMode m_tsactMode;
	}
}
